package ysq.xyg.service;

import com.github.pagehelper.PageInfo;
import ysq.xyg.model.BaseMenu;

import java.util.List;

/**
 * Created by Yu Shengqiang on 2017/5/3.
 */
public interface BaseMenuService extends BaseService<BaseMenu> {
    //分页查询
    public PageInfo<BaseMenu> pageInfo(BaseMenu baseMenu, int pageSize, int pageNum);
    //获取最大menuCode值
    public String AcceptMaxMenuCode(String menuCode);
    //获取最大menuCode值
    public String AcceptMaxMenuCode(String parentId,String menuGrade);
    /***
     * 菜单左查询
     * @param baseMenu
     * @return
     */
    List<BaseMenu> selectEntityByLeft(BaseMenu baseMenu);
}
